package com.ljf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.EditPswDto;
import com.ljf.dto.EmpPageDto;
import com.ljf.entity.Employee;
import com.ljf.vo.DetailEmpVo;
import com.ljf.vo.EditEmpVo;
import com.ljf.vo.InformationVo;


public interface EmployeeService extends IService<Employee> {
    InformationVo information(String token);
    DetailEmpVo detail(Long uid);

    void saveEmp(Employee employee, String token);

    void updateEmp(Employee employee, String token);

    void editPwd(String token, EditPswDto editPswDto);

    Page<Employee> pageEmp(EmpPageDto empPageDto);

    EditEmpVo editbtn(Long uid);

    void resetPwd(Long eid, String code);

    void deactivate(Long id);
}
